package com.yaowk.event.event;

import com.yaowk.event.model.OrderModel;
import net.dreamlu.event.core.ApplicationEvent;

/**
 * Created by yaowk on 17-8-23.
 */
public class OrderEvent extends ApplicationEvent {
    public OrderEvent(OrderModel source) {
        super(source);
    }

    @Override
    public OrderModel getSource() {
        return (OrderModel) super.getSource();
    }

    public static final String ORDER_FINISH = "orderFinish";
    public static final String REFUND_FINISH = "refundFinish";
    public static final String REFUND = "refund";
}
